package com.hernandez.games.adventures.events;

public class KeyboardEvent implements IEvent {
	private final char key;
	public static enum KeyboardEventType {PRESSED, RELEASED, TYPED};
	private final KeyboardEventType type;
	public KeyboardEvent(char key, KeyboardEventType type) {
		this.key = key;
		this.type = type;
	}
	public char getKey() {
		return key;
	}
	public KeyboardEventType getType() {
		return type;
	}
}
